home *** CD-ROM | disk | FTP | other *** search
/ The Trig Explorer / The Trig Explorer.iso / mac / Explorer / plot.dxr / 00092.ls < prev    next >
Encoding:
Text File  |  2000-08-01  |  393 b   |  14 lines

  1. on exitFrame
  2.   set the trails of sprite 19 to 1
  3.   set x0 to the locH of sprite 15
  4.   set y0 to the locV of sprite 15
  5.   repeat with n = 0 to 180
  6.     if n <> 90 then
  7.       set the locH of sprite 19 to (1.60000000000000009 * n) + x0
  8.       set the locV of sprite 19 to y0 - (50.0 * float(tan(float(n * PI / 180.0))))
  9.     end if
  10.     updateStage()
  11.   end repeat
  12.   set the trails of sprite 19 to 0
  13. end
  14.